﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
	/// <summary>
	/// 羔羊断奶实现
	/// </summary>
	public interface ILambweaninginfoService
	{
		/// <summary>
		/// 获取羔羊断奶信息
		/// </summary>
		/// <returns></returns>
		Task<PageOutput<LambweaninginfoOutPut>> GetLambweaninginfos(LambWeaningInfoInPut input);
		/// <summary>
		/// 羔羊断奶删除
		/// </summary>
		/// <param name="loginUserName"></param>
		/// <param name="ids"></param>
		/// <returns></returns>
		Task<int> DelLambweaninginfos(params string[] eartag);
		/// <summary>
		/// 羔羊断奶添加
		/// </summary>
		/// <param name="lambweaninginfo"></param>
		/// <returns></returns>
		Task<int> AddLambweaninginfo(List<Lambweaninginfo> lambweaninginfo);
		/// <summary>
		/// 反填羔羊断奶
		/// </summary>
		/// <param name="id"></param>
		/// <returns></returns>
		Task<Lambweaninginfo> DteilLambweaninginfo(string eartag);
		/// <summary>
		/// 修改羔羊断奶
		/// </summary>
		/// <param name="entity"></param>
		/// <returns></returns>
		Task<int> UpdateLambweaninginfo(Lambweaninginfo entity);
	}
}
